\hypertarget{class_word}{
\subsection{Word Class Reference}
\label{class_word}\index{Word@{Word}}
}
Provide support for a \hyperlink{class_word}{Word} \hyperlink{class_token}{Token}.  


{\tt \#include $<$Word.h$>$}

Inheritance diagram for Word:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=44pt]{class_word__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for Word:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=85pt]{class_word__coll__graph}
\end{center}
\end{figure}
\subsubsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{class_word_17baf7109d46beb48d5b469f3baedc48}{
\hyperlink{class_word_17baf7109d46beb48d5b469f3baedc48}{Word} ()}
\label{class_word_17baf7109d46beb48d5b469f3baedc48}

\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{class_word_8bc3e4ca325ebf0d8895bec0cbce371a}{Word} (string \_\-lex)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{class_word_ac0489c261be4f550eaedd7e19704dcd}{Word} (string \_\-lex, \hyperlink{class_token_d80928a0dff686ec8d11da0b5d6944a2}{TokenType} \_\-type)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
string \hyperlink{class_word_f38befdf8b5af1e93619655b7a2dd6f7}{Lex} ()
\begin{CompactList}\small\item\em Getter - lex. \item\end{CompactList}\item 
void \hyperlink{class_word_ba12c17d2ced003303dd7d81d70cf00e}{setLex} (string \_\-lex)
\begin{CompactList}\small\item\em Setter - lex. \item\end{CompactList}\item 
int \hyperlink{class_word_a8abfcd9c0ce5fcc99eb387115d8769c}{Level} ()
\begin{CompactList}\small\item\em Getter - level. \item\end{CompactList}\item 
void \hyperlink{class_word_36e96dd0ff4ad641f765638ce9558a55}{setLevel} (int \_\-level)
\begin{CompactList}\small\item\em Setter - level. \item\end{CompactList}\item 
int \hyperlink{class_word_4545ef4c15eeaceba765720cdf421349}{Offset} ()
\begin{CompactList}\small\item\em Getter - offset. \item\end{CompactList}\item 
void \hyperlink{class_word_f4769cffa0597330f348bd14b87b129c}{setOffset} (int \_\-offset)
\begin{CompactList}\small\item\em Setter - offset. \item\end{CompactList}\item 
\hyperlink{class_word_data}{WordData} $\ast$ \hyperlink{class_word_b68721ca592dbfef5bdf450ba747e5c7}{Data} ()
\begin{CompactList}\small\item\em Getter - data. \item\end{CompactList}\item 
void \hyperlink{class_word_b18a7a9d33d39957f77b3893d76a5a79}{setData} (\hyperlink{class_word_data}{WordData} $\ast$\_\-data)
\begin{CompactList}\small\item\em Setter - data (data). \item\end{CompactList}\item 
void \hyperlink{class_word_eb177b1a0e0fe46ac0438df92b961e5c}{setData} (\hyperlink{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c8}{WordData::DataType} type)
\begin{CompactList}\small\item\em Setter - data (DataType). \item\end{CompactList}\item 
void \hyperlink{class_word_1e68ba6cdeea53c62a4b5d0ee5384972}{setData} (\hyperlink{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c8}{WordData::DataType} type, int size)
\begin{CompactList}\small\item\em Setter - data (DataType). \item\end{CompactList}\item 
void \hyperlink{class_word_88691cd910cf52a91c3332a364d6824e}{setData} (int value)
\begin{CompactList}\small\item\em Setter - data (Number). \item\end{CompactList}\item 
void \hyperlink{class_word_7072406dbc23a08b386101e3f27f1457}{setData} (bool value)
\begin{CompactList}\small\item\em Setter - data (Bool). \item\end{CompactList}\item 
void \hyperlink{class_word_6627102e49a047cc20c3d40ad0f915f8}{setData} (string word)
\begin{CompactList}\small\item\em Setter - data (ID). \item\end{CompactList}\item 
string \hyperlink{class_word_4355f2a127545dce5c25d67afb91034f}{toString} ()
\begin{CompactList}\small\item\em A String representation of \hyperlink{class_word}{Word}. \item\end{CompactList}\end{CompactItemize}
\subsubsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static const string $\ast$ \hyperlink{class_word_18c7bbdc54f428d1a32cad58a13e184f}{Keywords} ()
\begin{CompactList}\small\item\em Defines the Keywords for PL. \item\end{CompactList}\end{CompactItemize}


\subsubsection{Detailed Description}
Provide support for a \hyperlink{class_word}{Word} \hyperlink{class_token}{Token}. 

\subsubsection{Constructor \& Destructor Documentation}
\hypertarget{class_word_8bc3e4ca325ebf0d8895bec0cbce371a}{
\index{Word@{Word}!Word@{Word}}
\index{Word@{Word}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}Word::Word (string {\em \_\-lex})}\hfill}
\label{class_word_8bc3e4ca325ebf0d8895bec0cbce371a}


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-lex}]The lexeme string of the token \end{description}
\end{Desc}
\hypertarget{class_word_ac0489c261be4f550eaedd7e19704dcd}{
\index{Word@{Word}!Word@{Word}}
\index{Word@{Word}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}Word::Word (string {\em \_\-lex}, {\bf TokenType} {\em \_\-type})}\hfill}
\label{class_word_ac0489c261be4f550eaedd7e19704dcd}


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-lex}]The lexeme string of the token \item[{\em \_\-type}]The lexeme string of the token \end{description}
\end{Desc}


\subsubsection{Member Function Documentation}
\hypertarget{class_word_f38befdf8b5af1e93619655b7a2dd6f7}{
\index{Word@{Word}!Lex@{Lex}}
\index{Lex@{Lex}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}string Word::Lex ()}\hfill}
\label{class_word_f38befdf8b5af1e93619655b7a2dd6f7}


Getter - lex. 

\begin{Desc}
\item[Returns:]The lexeme string of the token \end{Desc}
\hypertarget{class_word_ba12c17d2ced003303dd7d81d70cf00e}{
\index{Word@{Word}!setLex@{setLex}}
\index{setLex@{setLex}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void Word::setLex (string {\em \_\-lex})}\hfill}
\label{class_word_ba12c17d2ced003303dd7d81d70cf00e}


Setter - lex. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-lex}]Set lex to this \end{description}
\end{Desc}
\hypertarget{class_word_a8abfcd9c0ce5fcc99eb387115d8769c}{
\index{Word@{Word}!Level@{Level}}
\index{Level@{Level}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}int Word::Level ()}\hfill}
\label{class_word_a8abfcd9c0ce5fcc99eb387115d8769c}


Getter - level. 

\begin{Desc}
\item[Returns:]The level of the token in the blocks \end{Desc}
\hypertarget{class_word_36e96dd0ff4ad641f765638ce9558a55}{
\index{Word@{Word}!setLevel@{setLevel}}
\index{setLevel@{setLevel}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void Word::setLevel (int {\em \_\-level})}\hfill}
\label{class_word_36e96dd0ff4ad641f765638ce9558a55}


Setter - level. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-level}]Set level to this \end{description}
\end{Desc}
\hypertarget{class_word_4545ef4c15eeaceba765720cdf421349}{
\index{Word@{Word}!Offset@{Offset}}
\index{Offset@{Offset}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}int Word::Offset ()}\hfill}
\label{class_word_4545ef4c15eeaceba765720cdf421349}


Getter - offset. 

\begin{Desc}
\item[Returns:]The offset of the token in the block \end{Desc}
\hypertarget{class_word_f4769cffa0597330f348bd14b87b129c}{
\index{Word@{Word}!setOffset@{setOffset}}
\index{setOffset@{setOffset}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void Word::setOffset (int {\em \_\-offset})}\hfill}
\label{class_word_f4769cffa0597330f348bd14b87b129c}


Setter - offset. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-offset}]Set offset to this \end{description}
\end{Desc}
\hypertarget{class_word_b68721ca592dbfef5bdf450ba747e5c7}{
\index{Word@{Word}!Data@{Data}}
\index{Data@{Data}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}{\bf WordData} $\ast$ Word::Data ()}\hfill}
\label{class_word_b68721ca592dbfef5bdf450ba747e5c7}


Getter - data. 

\begin{Desc}
\item[Returns:]The data \end{Desc}
\hypertarget{class_word_b18a7a9d33d39957f77b3893d76a5a79}{
\index{Word@{Word}!setData@{setData}}
\index{setData@{setData}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void Word::setData ({\bf WordData} $\ast$ {\em \_\-data})}\hfill}
\label{class_word_b18a7a9d33d39957f77b3893d76a5a79}


Setter - data (data). 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-data}]Set data to this \end{description}
\end{Desc}
\hypertarget{class_word_eb177b1a0e0fe46ac0438df92b961e5c}{
\index{Word@{Word}!setData@{setData}}
\index{setData@{setData}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void Word::setData ({\bf WordData::DataType} {\em type})}\hfill}
\label{class_word_eb177b1a0e0fe46ac0438df92b961e5c}


Setter - data (DataType). 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em type}]Set data to this \end{description}
\end{Desc}
\hypertarget{class_word_1e68ba6cdeea53c62a4b5d0ee5384972}{
\index{Word@{Word}!setData@{setData}}
\index{setData@{setData}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void Word::setData ({\bf WordData::DataType} {\em type}, int {\em size})}\hfill}
\label{class_word_1e68ba6cdeea53c62a4b5d0ee5384972}


Setter - data (DataType). 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em type}]Set data to this \item[{\em size}]Set array size to this \end{description}
\end{Desc}
\hypertarget{class_word_88691cd910cf52a91c3332a364d6824e}{
\index{Word@{Word}!setData@{setData}}
\index{setData@{setData}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void Word::setData (int {\em value})}\hfill}
\label{class_word_88691cd910cf52a91c3332a364d6824e}


Setter - data (Number). 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-value}]Set data to this \end{description}
\end{Desc}
\hypertarget{class_word_7072406dbc23a08b386101e3f27f1457}{
\index{Word@{Word}!setData@{setData}}
\index{setData@{setData}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void Word::setData (bool {\em value})}\hfill}
\label{class_word_7072406dbc23a08b386101e3f27f1457}


Setter - data (Bool). 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em value}]Set Boolean to this value \end{description}
\end{Desc}
\hypertarget{class_word_6627102e49a047cc20c3d40ad0f915f8}{
\index{Word@{Word}!setData@{setData}}
\index{setData@{setData}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void Word::setData (string {\em word})}\hfill}
\label{class_word_6627102e49a047cc20c3d40ad0f915f8}


Setter - data (ID). 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-word}]Set ID to this value \end{description}
\end{Desc}
\hypertarget{class_word_4355f2a127545dce5c25d67afb91034f}{
\index{Word@{Word}!toString@{toString}}
\index{toString@{toString}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}string Word::toString ()}\hfill}
\label{class_word_4355f2a127545dce5c25d67afb91034f}


A String representation of \hyperlink{class_word}{Word}. 

\begin{Desc}
\item[Returns:]A string The string format will be: \par
 type: {\em int\/} lex: {\em string\/} \end{Desc}


Reimplemented from \hyperlink{class_token_4e0ca338277bccb0f820f5149e82af79}{Token}.\hypertarget{class_word_18c7bbdc54f428d1a32cad58a13e184f}{
\index{Word@{Word}!Keywords@{Keywords}}
\index{Keywords@{Keywords}!Word@{Word}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}const string $\ast$ Word::Keywords ()\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}\hfill}
\label{class_word_18c7bbdc54f428d1a32cad58a13e184f}


Defines the Keywords for PL. 

\begin{Desc}
\item[Returns:]An array of strings \end{Desc}
